﻿-- Define the relationship between Note and Person
ALTER TABLE [dbo].[Note] WITH CHECK ADD  
       CONSTRAINT [FK_Note_CreatedByPerson] FOREIGN KEY([CreatedBy])
REFERENCES [dbo].[Person] ([PersonId])
ON DELETE NO ACTION
GO